puts IO.read(File.join(File.dirname(__FILE__), 'README' ))

ROUTINE_DIR = "#{RAILS_ROOT}/db/migrate/routines"

begin
  Dir.mkdir(ROUTINE_DIR)
  puts "created migration dir for routines at #{ROUTINE_DIR}"
rescue
  puts "#{ROUTINE_DIR} already exists?"
  puts $!.to_s
end